package com.hoas.quickstart.threads.chapter01.chapter01_3_4;

import com.hoas.quickstart.threads.chapter01.chapter01_3_2.CountOperate;

public class Run {

    public static void main(String[] args) {

        CountOperate operate = new CountOperate();
        Thread thread = new Thread( operate );
        thread.setName("A");

        System.out.println("main begin thread isAlive=" + thread.isAlive());
        thread.start();
        System.out.println("main end thread isAlive=" + thread.isAlive());


    }

}
